package com.web.exiaodao.remote.vo;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @ClassName: BannerVo
 * @Description:Banner图 Vo
 * @author eason.zt
 * @date  2016-10-22 11:29:21
 *
 */
@ApiModel(value="Banner图Vo对象")
public class BannerVo {

	@ApiModelProperty(value="主键，自动增长")
	private Long id;
	
	@ApiModelProperty(value="创建时间")
	private String createTime;
	@ApiModelProperty(value = "创建者")
	private String createUser;
	
 	@ApiModelProperty(value="图片地址,图片地址")
	private String picurl;
	@ApiModelProperty(value="链接地址,链接地址")
	private String linkurl;
	/**
	 * 具体类型参加 {@link com.web.exiaodao.business.constant.JConstant.BannerType}
	 */
	@ApiModelProperty(value="类型（1：首页 2：游学 3:机构的房子 4：学乐/艺术品）")
	private Integer type;
	@ApiModelProperty(value="排序值,排序值")
	private Integer sort;
	@ApiModelProperty(value="简要文字说明,简要文字说明")
	private String intro;
	@ApiModelProperty(value="对象id,对象ID")
	private Long objectId;
	
	public BannerVo(Long id, String createTime, String createUser,
			String picurl, String linkurl, Integer type, Integer sort,
			String intro, Long objectId) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.createUser = createUser;
		this.picurl = picurl;
		this.linkurl = linkurl;
		this.type = type;
		this.sort = sort;
		this.intro = intro;
		this.objectId = objectId;
	}

	public BannerVo() {
		super();
	}

	public BannerVo(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
		public void setPicurl(String picurl){
		this.picurl=picurl;
	}
	
	public String getPicurl(){
		return picurl;
	}
		public void setLinkurl(String linkurl){
		this.linkurl=linkurl;
	}
	
	public String getLinkurl(){
		return linkurl;
	}
		public void setType(Integer type){
		this.type=type;
	}
	
	public Integer getType(){
		return type;
	}
		public void setSort(Integer sort){
		this.sort=sort;
	}
	
	public Integer getSort(){
		return sort;
	}
		public void setIntro(String intro){
		this.intro=intro;
	}
	
	public String getIntro(){
		return intro;
	}
		public void setObjectId(Long objectId){
		this.objectId=objectId;
	}
	
	public Long getObjectId(){
		return objectId;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	@Override
	public String toString() {
		return "BannerVo{" +
				"id=" + id +
				", createTime='" + createTime + '\'' +
				", createUser='" + createUser + '\'' +
				", picurl='" + picurl + '\'' +
				", linkurl='" + linkurl + '\'' +
				", type=" + type +
				", sort=" + sort +
				", intro='" + intro + '\'' +
				", objectId=" + objectId +
				'}';
	}
}

